package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.ToString;


/**
 * <p>
 *
 * @Author：Roy
 * @Description：设备管理
 * @Date：Create by 2023-11-30 18:51:39
 */
@Data
@ToString
@TableName("ecp_tt_device")
public class DeviceEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 设备编码 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceCode;

    /* 设备名称 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceName;

    /* 设备类型(1:物联网设备,2:非物联网设备) */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceType;

    /* 是否重点关注设备(1:重点关注设备,2:非重点关注设备) */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String isFocus;

    /* 产品类型ID */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String productTypeId;

    /* 当前状态(1:在线,2:离线) */
    private String deviceStatus;

    /* 项目id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /* 楼栋id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    /* 楼层id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    /* 空间id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    /* 具体位置 */
    private String position;

    /* 备注 */
    private String remark;

    /* 机构Id */
    private String deptId;

}
